﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Management;
using System.Text;

namespace WMI.NET.CIM
{
    /// <summary>
    /// The CIM_CoolingDevice class represents the capabilities and management of cooling devices.
    /// </summary>
    public class CIM_CoolingDevice : CIM_LogicalDevice
    {

        private Nullable<Boolean> _ActiveCooling;

        /// <summary>
        /// If TRUE, the cooling device provides active (as opposed to passive) cooling.
        /// </summary>
        public Nullable<Boolean> ActiveCooling { get { return _ActiveCooling; } }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="mbo"></param>
        public CIM_CoolingDevice(ManagementBaseObject mbo)
            : base(mbo)
        {
            _ActiveCooling = mbo.GetBoolValue("ActiveCooling");
        }

    }
}
